package com.zl.spring.propertyDI;/**
 * @author suke
 * @create 2021-07-30 16:24
 */

import java.util.*;

/**
 * TODO
 * @ClassName: Dog
 * @author: suke
 * @since: 2021/7/30 16:24
 */
public class Dog {
    private String name;
    private int age;

    private String[] arr;
    private List<String> list = new ArrayList<>();
    private Set<String> set = new HashSet<>();
    private Map<String,Integer> map = new HashMap<>();
    private Properties prop =  new Properties();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }


    public Dog(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Dog() {
    }

    public Dog(String name) {
        this.name = name;
    }

    public String[] getArr() {
        return arr;
    }

    public void setArr(String[] arr) {
        this.arr = arr;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public Set<String> getSet() {
        return set;
    }

    public void setSet(Set<String> set) {
        this.set = set;
    }

    public Map<String, Integer> getMap() {
        return map;
    }

    public void setMap(Map<String, Integer> map) {
        this.map = map;
    }

    public Properties getProp() {
        return prop;
    }

    public void setProp(Properties prop) {
        this.prop = prop;
    }
}
